-
Home
-
ElasticPress
-
4.2.2
-
Code
-
Classes
- IndexHelper
| Total Complexity |
140 |
| Dependencies |
4 |
| Dependents |
9 |
| Total lines |
1,199 |
| Lines of code |
570 |
| Logical lines of code |
302 |
| Comment lines |
448 |
| Methods |
30 |
| Properties |
4 |
Methods 30
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| index_next_batch() |
B |
33 |
21 |
93 |
| build_index_meta() |
B |
34 |
18 |
87 |
| get_objects_to_index() |
B |
42 |
18 |
44 |
| process_sync_item() |
A |
44 |
13 |
44 |
| is_full_reindexing() |
A |
51 |
11 |
24 |
| index_cleanup() |
A |
46 |
8 |
40 |
| stop_the_insanity() |
S |
52 |
6 |
25 |
| index_objects() |
S |
49 |
5 |
30 |
| output() |
S |
56 |
4 |
17 |
| full_index() |
S |
57 |
4 |
16 |
| create_network_alias() |
S |
52 |
3 |
26 |
| put_mapping() |
S |
57 |
3 |
16 |
| handle_index_error() |
S |
68 |
3 |
7 |
| update_last_index() |
S |
61 |
2 |
11 |
| filter_indexables() |
S |
67 |
2 |
8 |
| has_items_to_be_processed() |
S |
77 |
2 |
3 |
| output_index_errors() |
S |
64 |
2 |
8 |
| should_skip_object_index() |
S |
70 |
2 |
5 |
| factory() |
S |
68 |
2 |
8 |
| on_error_update_and_clean() |
S |
59 |
1 |
14 |
| update_totals_from_current_sync_item() |
S |
60 |
1 |
13 |
| setup() |
S |
79 |
1 |
3 |
| full_index_complete() |
S |
69 |
1 |
6 |
| has_network_alias_to_be_created() |
S |
79 |
1 |
3 |
| output_success() |
S |
79 |
1 |
3 |
| output_error() |
S |
79 |
1 |
3 |
| get_last_index() |
S |
78 |
1 |
3 |
| clear_index_meta() |
S |
79 |
1 |
3 |
| get_index_meta() |
S |
78 |
1 |
3 |
| wp_handle_index_error() |
S |
77 |
1 |
4 |